package net.ericaro.neojavagen.expressions;

/**
 * <b>TypeSuperMethodInvocation</b> ::= <{@link net .ericaro .neojavagen .names .TypeName TypeName}> "." "super" "." <
 * {@link net .ericaro .neojavagen .expressions .MethodInvocationBody MethodInvocationBody}>
 * 
 * @author eric@ericaro.net
 */
public class TypeSuperMethodInvocation extends net.ericaro.neojavagen.JavaPartComposition implements net.ericaro.neojavagen.expressions.MethodInvocation {
	private net.ericaro.neojavagen.expressions.MethodInvocationBody methodInvocationBody;

	private net.ericaro.neojavagen.names.TypeName typeName;

	public TypeSuperMethodInvocation(net.ericaro.neojavagen.names.TypeName typeName, net.ericaro.neojavagen.expressions.MethodInvocationBody methodInvocationBody) {
		super();
		this.typeName = typeName;
		this.methodInvocationBody = methodInvocationBody;
	}

	public net.ericaro.neojavagen.expressions.MethodInvocationBody getMethodInvocationBody() {
		return methodInvocationBody;
	}

	public net.ericaro.neojavagen.names.TypeName getTypeName() {
		return typeName;
	}

	public void setMethodInvocationBody(net.ericaro.neojavagen.expressions.MethodInvocationBody methodInvocationBody) {
		this.methodInvocationBody = methodInvocationBody;
	}

	public void setTypeName(net.ericaro.neojavagen.names.TypeName typeName) {
		this.typeName = typeName;
	}

	@Override
	public java.lang.String toString() {
		return print(typeName, ".", "super", ".", methodInvocationBody);
	}
}
